<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"><title>Kotlin编程第一课(目录) | 码行</title><meta name="author" content="Carl Su"><meta name="copyright" content="Carl Su"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="ffffff"><meta name="description" content="基础篇Kotlin编程第一课–(基础篇)01  Kotlin基础语法：正式开启学习之旅Kotlin编程第一课–(基础篇)02  面向对象：理解Kotlin设计者的良苦用心Kotlin编程第一课–(基础篇)03  Kotlin原理：编译器在幕后干了哪些“好事”？Kotlin编程第一课–(基础篇)04 | 实战：构建一个Kotlin版本的四则运算计算器Kotlin编程第一课–(基础篇)05  obje">
<meta property="og:type" content="article">
<meta property="og:title" content="Kotlin编程第一课(目录)">
<meta property="og:url" content="https://devsu.top/posts/be9f17d6/index.html">
<meta property="og:site_name" content="码行">
<meta property="og:description" content="基础篇Kotlin编程第一课–(基础篇)01  Kotlin基础语法：正式开启学习之旅Kotlin编程第一课–(基础篇)02  面向对象：理解Kotlin设计者的良苦用心Kotlin编程第一课–(基础篇)03  Kotlin原理：编译器在幕后干了哪些“好事”？Kotlin编程第一课–(基础篇)04 | 实战：构建一个Kotlin版本的四则运算计算器Kotlin编程第一课–(基础篇)05  obje">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://img2.baidu.com/it/u=3956021957,3313212296&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500">
<meta property="article:published_time" content="2022-07-10T07:34:08.000Z">
<meta property="article:modified_time" content="2023-03-27T08:18:33.460Z">
<meta property="article:author" content="Carl Su">
<meta property="article:tag" content="Kotlin">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://img2.baidu.com/it/u=3956021957,3313212296&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500"><link rel="shortcut icon" href="https://s2.loli.net/2023/03/09/whMHdYkrKoIBnSC.png"><link rel="canonical" href="https://devsu.top/posts/be9f17d6/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//hm.baidu.com"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?6243425e2ecb037931274c4ca1db3132";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":true,"languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"简"},
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":300},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: {"limitCount":50,"languages":{"author":"作者: Carl Su","link":"链接: ","source":"来源: 码行","info":"著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。"}},
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"bottom-left"},
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: true,
  islazyload: true,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: true,
  }
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'Kotlin编程第一课(目录)',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2023-03-27 16:18:33'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
    win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
      const link = document.createElement('link')
      link.rel = 'stylesheet'
      link.href = url
      if (id) link.id = id
      link.onerror = reject
      link.onload = link.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        link.onload = link.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(link)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', 'ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          const now = new Date()
          const hour = now.getHours()
          const isNight = hour <= 6 || hour >= 18
          if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
          else if (t === 'light') activateLightMode()
          else activateDarkMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.3.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><script>const preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',()=> { preloader.endLoading() })

if (false) {
  document.addEventListener('pjax:send', () => { preloader.initLoading() })
  document.addEventListener('pjax:complete', () => { preloader.endLoading() })
}</script><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://s2.loli.net/2023/03/09/QrI9mgJ4XlbEPzN.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">169</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">37</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">38</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 清单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg fixed" id="page-header" style="background-image: url('https://img2.baidu.com/it/u=3956021957,3313212296&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG?w=800&amp;h=500')"><nav id="nav"><span id="blog-info"><a href="/" title="码行"><img class="site-icon" src="https://s2.loli.net/2023/03/09/whMHdYkrKoIBnSC.png"/><span class="site-name">码行</span></a></span><div id="menus"><div id="search-button"><a class="site-page social-icon search" href="javascript:void(0);"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 清单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 电影</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">Kotlin编程第一课(目录)</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2022-07-10T07:34:08.000Z" title="发表于 2022-07-10 15:34:08">2022-07-10</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2023-03-27T08:18:33.460Z" title="更新于 2023-03-27 16:18:33">2023-03-27</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/Android/">Android</a><i class="fas fa-angle-right post-meta-separator"></i><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/Android/Kotlin/">Kotlin</a><i class="fas fa-angle-right post-meta-separator"></i><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/Android/Kotlin/Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE/">Kotlin编程第一课</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">1k</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>3分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="Kotlin编程第一课(目录)"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"><i class="fa-solid fa-spinner fa-spin"></i></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h3 id="基础篇"><a href="#基础篇" class="headerlink" title="基础篇"></a>基础篇</h3><h4 id="Kotlin编程第一课–-基础篇-01-Kotlin基础语法：正式开启学习之旅"><a href="#Kotlin编程第一课–-基础篇-01-Kotlin基础语法：正式开启学习之旅" class="headerlink" title="Kotlin编程第一课–(基础篇)01  Kotlin基础语法：正式开启学习之旅"></a><a href="https://devsu.top/posts/3dc00e96/">Kotlin编程第一课–(基础篇)01  Kotlin基础语法：正式开启学习之旅</a></h4><h4 id="Kotlin编程第一课–-基础篇-02-面向对象：理解Kotlin设计者的良苦用心"><a href="#Kotlin编程第一课–-基础篇-02-面向对象：理解Kotlin设计者的良苦用心" class="headerlink" title="Kotlin编程第一课–(基础篇)02  面向对象：理解Kotlin设计者的良苦用心"></a><a href="https://devsu.top/posts/25decd61">Kotlin编程第一课–(基础篇)02  面向对象：理解Kotlin设计者的良苦用心</a></h4><h4 id="Kotlin编程第一课–-基础篇-03-Kotlin原理：编译器在幕后干了哪些“好事”？"><a href="#Kotlin编程第一课–-基础篇-03-Kotlin原理：编译器在幕后干了哪些“好事”？" class="headerlink" title="Kotlin编程第一课–(基础篇)03  Kotlin原理：编译器在幕后干了哪些“好事”？"></a><a href="https://devsu.top/posts/e0b30b8/">Kotlin编程第一课–(基础篇)03  Kotlin原理：编译器在幕后干了哪些“好事”？</a></h4><h4 id="Kotlin编程第一课–-基础篇-04-实战：构建一个Kotlin版本的四则运算计算器"><a href="#Kotlin编程第一课–-基础篇-04-实战：构建一个Kotlin版本的四则运算计算器" class="headerlink" title="Kotlin编程第一课–(基础篇)04 | 实战：构建一个Kotlin版本的四则运算计算器"></a><a href="https://devsu.top/posts/9850cd08/">Kotlin编程第一课–(基础篇)04 | 实战：构建一个Kotlin版本的四则运算计算器</a></h4><h4 id="Kotlin编程第一课–-基础篇-05-object关键字：你到底有多少种用法？"><a href="#Kotlin编程第一课–-基础篇-05-object关键字：你到底有多少种用法？" class="headerlink" title="Kotlin编程第一课–(基础篇)05  object关键字：你到底有多少种用法？"></a><a href="https://devsu.top/posts/38dca859/">Kotlin编程第一课–(基础篇)05  object关键字：你到底有多少种用法？</a></h4><h4 id="Kotlin编程第一课–-基础篇-06-扩展：你的能力边界到底在哪里？"><a href="#Kotlin编程第一课–-基础篇-06-扩展：你的能力边界到底在哪里？" class="headerlink" title="Kotlin编程第一课–(基础篇)06  扩展：你的能力边界到底在哪里？"></a><a href="https://devsu.top/posts/85d82fa8/">Kotlin编程第一课–(基础篇)06  扩展：你的能力边界到底在哪里？</a></h4><h4 id="Kotlin编程第一课–-基础篇-07-高阶函数：为什么说函数是Kotlin的“一等公民”？"><a href="#Kotlin编程第一课–-基础篇-07-高阶函数：为什么说函数是Kotlin的“一等公民”？" class="headerlink" title="Kotlin编程第一课–(基础篇)07  高阶函数：为什么说函数是Kotlin的“一等公民”？"></a><a href="https://devsu.top/posts/15c1fa4b/">Kotlin编程第一课–(基础篇)07  高阶函数：为什么说函数是Kotlin的“一等公民”？</a></h4><h4 id="Kotlin编程第一课–-基础篇-08-实战：用Kotlin写一个英语词频统计程序"><a href="#Kotlin编程第一课–-基础篇-08-实战：用Kotlin写一个英语词频统计程序" class="headerlink" title="Kotlin编程第一课–(基础篇)08  实战：用Kotlin写一个英语词频统计程序"></a><a href="https://devsu.top/posts/90cef85a/">Kotlin编程第一课–(基础篇)08  实战：用Kotlin写一个英语词频统计程序</a></h4><h4 id="Kotlin编程第一课–-基础篇-加餐一-初识Kotlin函数式编程"><a href="#Kotlin编程第一课–-基础篇-加餐一-初识Kotlin函数式编程" class="headerlink" title="Kotlin编程第一课–(基础篇)加餐一  初识Kotlin函数式编程"></a><a href="https://devsu.top/posts/e851a3a2/">Kotlin编程第一课–(基础篇)加餐一  初识Kotlin函数式编程</a></h4><h4 id="Kotlin编程第一课–-基础篇-09-委托：你为何总是被低估？"><a href="#Kotlin编程第一课–-基础篇-09-委托：你为何总是被低估？" class="headerlink" title="Kotlin编程第一课–(基础篇)09  委托：你为何总是被低估？"></a><a href="https://devsu.top/posts/5db0fd8d/">Kotlin编程第一课–(基础篇)09  委托：你为何总是被低估？</a></h4><h4 id="Kotlin编程第一课–-基础篇-10-泛型：逆变or协变，傻傻分不清？"><a href="#Kotlin编程第一课–-基础篇-10-泛型：逆变or协变，傻傻分不清？" class="headerlink" title="Kotlin编程第一课–(基础篇)10  泛型：逆变or协变，傻傻分不清？"></a><a href="https://devsu.top/posts/91ec5a6c/">Kotlin编程第一课–(基础篇)10  泛型：逆变or协变，傻傻分不清？</a></h4><h4 id="Kotlin编程第一课–-基础篇-11-注解与反射：进阶必备技能"><a href="#Kotlin编程第一课–-基础篇-11-注解与反射：进阶必备技能" class="headerlink" title="Kotlin编程第一课–(基础篇)11  注解与反射：进阶必备技能"></a><a href="https://devsu.top/posts/f3ad1558/">Kotlin编程第一课–(基础篇)11  注解与反射：进阶必备技能</a></h4><h4 id="Kotlin编程第一课–-基础篇-12-实战：用Kotlin实现一个网络请求框架KtHttp"><a href="#Kotlin编程第一课–-基础篇-12-实战：用Kotlin实现一个网络请求框架KtHttp" class="headerlink" title="Kotlin编程第一课–(基础篇)12  实战：用Kotlin实现一个网络请求框架KtHttp"></a><a href="https://devsu.top/posts/e45ff726/">Kotlin编程第一课–(基础篇)12  实战：用Kotlin实现一个网络请求框架KtHttp</a></h4><h4 id="Kotlin编程第一课–-基础篇-加餐二-什么是“表达式思维”？"><a href="#Kotlin编程第一课–-基础篇-加餐二-什么是“表达式思维”？" class="headerlink" title="Kotlin编程第一课–(基础篇)加餐二  什么是“表达式思维”？"></a><a href="https://devsu.top/posts/11b33035/">Kotlin编程第一课–(基础篇)加餐二  什么是“表达式思维”？</a></h4><h4 id="Kotlin编程第一课–-基础篇-加餐三-什么是“不变性思维”？"><a href="#Kotlin编程第一课–-基础篇-加餐三-什么是“不变性思维”？" class="headerlink" title="Kotlin编程第一课–(基础篇)加餐三  什么是“不变性思维”？"></a><a href="https://devsu.top/posts/210fbe34/">Kotlin编程第一课–(基础篇)加餐三  什么是“不变性思维”？</a></h4><h4 id="Kotlin编程第一课–-基础篇-加餐四-什么是“空安全思维”？"><a href="#Kotlin编程第一课–-基础篇-加餐四-什么是“空安全思维”？" class="headerlink" title="Kotlin编程第一课–(基础篇)加餐四  什么是“空安全思维”？"></a><a href="https://devsu.top/posts/f0ec5bb9/">Kotlin编程第一课–(基础篇)加餐四  什么是“空安全思维”？</a></h4><h3 id="特别放送篇"><a href="#特别放送篇" class="headerlink" title="特别放送篇"></a>特别放送篇</h3><h4 id="Kotlin编程第一课–-特别放送-刷题计划（一）-当Kotlin遇上LeetCode"><a href="#Kotlin编程第一课–-特别放送-刷题计划（一）-当Kotlin遇上LeetCode" class="headerlink" title="Kotlin编程第一课–(特别放送)刷题计划（一） 当Kotlin遇上LeetCode"></a><a href="https://devsu.top/posts/a7227a95/">Kotlin编程第一课–(特别放送)刷题计划（一） 当Kotlin遇上LeetCode</a></h4><h4 id="Kotlin编程第一课–-特别放送-刷题计划（二）-一题三解，搞定版本号判断"><a href="#Kotlin编程第一课–-特别放送-刷题计划（二）-一题三解，搞定版本号判断" class="headerlink" title="Kotlin编程第一课–(特别放送)刷题计划（二） 一题三解，搞定版本号判断"></a><a href="https://devsu.top/posts/b0ff92f3/">Kotlin编程第一课–(特别放送)刷题计划（二） 一题三解，搞定版本号判断</a></h4><h4 id="Kotlin编程第一课–-春节特别放松-春节刷题计划（三）-一题双解，-方程"><a href="#Kotlin编程第一课–-春节特别放松-春节刷题计划（三）-一题双解，-方程" class="headerlink" title="Kotlin编程第一课–(春节特别放松)春节刷题计划（三） 一题双解， 方程"></a><a href="https://devsu.top/posts/4b068051/">Kotlin编程第一课–(春节特别放松)春节刷题计划（三） 一题双解， 方程</a></h4><h4 id="Kotlin编程第一课–-特别放送-刷题计划（四）-一题三解，搞定分式加减法"><a href="#Kotlin编程第一课–-特别放送-刷题计划（四）-一题三解，搞定分式加减法" class="headerlink" title="Kotlin编程第一课–(特别放送)刷题计划（四） 一题三解，搞定分式加减法"></a><a href="https://devsu.top/posts/9ab13196/">Kotlin编程第一课–(特别放送)刷题计划（四） 一题三解，搞定分式加减法</a></h4><h3 id="协程篇"><a href="#协程篇" class="headerlink" title="协程篇"></a>协程篇</h3><h4 id="Kotlin编程第一课–-协程篇-13-什么是“协程思维模型”？"><a href="#Kotlin编程第一课–-协程篇-13-什么是“协程思维模型”？" class="headerlink" title="Kotlin编程第一课–(协程篇)13 什么是“协程思维模型”？"></a><a href="https://devsu.top/posts/e6b226ff/">Kotlin编程第一课–(协程篇)13 什么是“协程思维模型”？</a></h4><h4 id="Kotlin编程第一课–-协程篇-14-如何启动协程？"><a href="#Kotlin编程第一课–-协程篇-14-如何启动协程？" class="headerlink" title="Kotlin编程第一课–(协程篇)14  如何启动协程？"></a><a href="https://devsu.top/posts/608fa63f/">Kotlin编程第一课–(协程篇)14  如何启动协程？</a></h4><h4 id="Kotlin编程第一课–-协程篇-15-挂起函数：Kotlin协程的核心"><a href="#Kotlin编程第一课–-协程篇-15-挂起函数：Kotlin协程的核心" class="headerlink" title="Kotlin编程第一课–(协程篇)15  挂起函数：Kotlin协程的核心"></a><a href="https://devsu.top/posts/96509131/">Kotlin编程第一课–(协程篇)15  挂起函数：Kotlin协程的核心</a></h4><h4 id="Kotlin编程第一课–-协程篇-16-Job：协程也有生命周期吗？"><a href="#Kotlin编程第一课–-协程篇-16-Job：协程也有生命周期吗？" class="headerlink" title="Kotlin编程第一课–(协程篇)16  Job：协程也有生命周期吗？"></a><a href="https://devsu.top/posts/5b46e6ea/">Kotlin编程第一课–(协程篇)16  Job：协程也有生命周期吗？</a></h4><h4 id="Kotlin编程第一课–-协程篇-17-Context：万物皆为Context？"><a href="#Kotlin编程第一课–-协程篇-17-Context：万物皆为Context？" class="headerlink" title="Kotlin编程第一课–(协程篇)17  Context：万物皆为Context？"></a><a href="https://devsu.top/posts/12ca5097/">Kotlin编程第一课–(协程篇)17  Context：万物皆为Context？</a></h4><h4 id="Kotlin编程第一课–-协程篇-18-实战：让KtHttp支持挂起函数"><a href="#Kotlin编程第一课–-协程篇-18-实战：让KtHttp支持挂起函数" class="headerlink" title="Kotlin编程第一课–(协程篇)18  实战：让KtHttp支持挂起函数"></a><a href="https://devsu.top/posts/95448d7b/">Kotlin编程第一课–(协程篇)18  实战：让KtHttp支持挂起函数</a></h4><h4 id="Kotlin编程第一课–-协程篇-期中考试-用Kotlin实现图片处理程序"><a href="#Kotlin编程第一课–-协程篇-期中考试-用Kotlin实现图片处理程序" class="headerlink" title="Kotlin编程第一课–(协程篇)期中考试  用Kotlin实现图片处理程序"></a><a href="https://devsu.top/posts/849ea54c/">Kotlin编程第一课–(协程篇)期中考试  用Kotlin实现图片处理程序</a></h4><h4 id="Kotlin编程第一课–-协程篇-题目解答-期中考试版本参考实现"><a href="#Kotlin编程第一课–-协程篇-题目解答-期中考试版本参考实现" class="headerlink" title="Kotlin编程第一课–(协程篇)题目解答  期中考试版本参考实现"></a><a href="https://devsu.top/posts/aa27c6dc/">Kotlin编程第一课–(协程篇)题目解答  期中考试版本参考实现</a></h4><h4 id="kotlin编程第一课–-协程篇-19-channel：为什么说channel是热的"><a href="#kotlin编程第一课–-协程篇-19-channel：为什么说channel是热的" class="headerlink" title="kotlin编程第一课–(协程篇)19  channel：为什么说channel是热的?"></a><a href="https://devsu.top/posts/8f28ab97/">kotlin编程第一课–(协程篇)19  channel：为什么说channel是热的?</a></h4><h4 id="Kotlin编程第一课–-协程篇-20-Flow：为什么说Flow是“冷”的？"><a href="#Kotlin编程第一课–-协程篇-20-Flow：为什么说Flow是“冷”的？" class="headerlink" title="Kotlin编程第一课–(协程篇)20  Flow：为什么说Flow是“冷”的？"></a><a href="https://devsu.top/posts/e7c23ba1/">Kotlin编程第一课–(协程篇)20  Flow：为什么说Flow是“冷”的？</a></h4><h4 id="Kotlin编程第一课–-协程篇-21-select：到底是在选择什么？"><a href="#Kotlin编程第一课–-协程篇-21-select：到底是在选择什么？" class="headerlink" title="Kotlin编程第一课–(协程篇)21  select：到底是在选择什么？"></a><a href="https://devsu.top/posts/4b3d9f4d/">Kotlin编程第一课–(协程篇)21  select：到底是在选择什么？</a></h4><h4 id="Kotlin编程第一课–-协程篇-22-并发：协程不需要处理同步吗？"><a href="#Kotlin编程第一课–-协程篇-22-并发：协程不需要处理同步吗？" class="headerlink" title="Kotlin编程第一课–(协程篇)22  并发：协程不需要处理同步吗？"></a><a href="https://devsu.top/posts/778b5847/">Kotlin编程第一课–(协程篇)22  并发：协程不需要处理同步吗？</a></h4><h4 id="Kotlin编程第一课–-协程篇-23-异常：try-catch-坑！"><a href="#Kotlin编程第一课–-协程篇-23-异常：try-catch-坑！" class="headerlink" title="Kotlin编程第一课–(协程篇)23  异常：try-catch 坑！"></a><a href="https://devsu.top/posts/a3460e51/">Kotlin编程第一课–(协程篇)23  异常：try-catch 坑！</a></h4><h4 id="Kotlin编程第一课–-协程篇-24-实战：让KtHttp支持Flow"><a href="#Kotlin编程第一课–-协程篇-24-实战：让KtHttp支持Flow" class="headerlink" title="Kotlin编程第一课–(协程篇)24  实战：让KtHttp支持Flow"></a><a href="https://devsu.top/posts/6532289/">Kotlin编程第一课–(协程篇)24  实战：让KtHttp支持Flow</a></h4><h3 id="答疑篇"><a href="#答疑篇" class="headerlink" title="答疑篇"></a>答疑篇</h3><h4 id="Kotlin编程第一课–-答疑篇-答疑（一）-Java和Kotlin到底谁好谁坏？"><a href="#Kotlin编程第一课–-答疑篇-答疑（一）-Java和Kotlin到底谁好谁坏？" class="headerlink" title="Kotlin编程第一课–(答疑篇)答疑（一）| Java和Kotlin到底谁好谁坏？"></a><a href="https://devsu.top/posts/85d82fa8/">Kotlin编程第一课–(答疑篇)答疑（一）| Java和Kotlin到底谁好谁坏？</a></h4><h3 id="源码篇"><a href="#源码篇" class="headerlink" title="源码篇"></a>源码篇</h3><h4 id="Kotlin编程第一课–-源码篇-25-集合操作符：你也会“看完就忘”吗？"><a href="#Kotlin编程第一课–-源码篇-25-集合操作符：你也会“看完就忘”吗？" class="headerlink" title="Kotlin编程第一课–(源码篇)25  集合操作符：你也会“看完就忘”吗？"></a><a href="https://devsu.top/posts/e47f1d17/">Kotlin编程第一课–(源码篇)25  集合操作符：你也会“看完就忘”吗？</a></h4><h4 id="Kotlin编程第一课–-源码篇-26-协程源码的地图：如何读源码才不会迷失？"><a href="#Kotlin编程第一课–-源码篇-26-协程源码的地图：如何读源码才不会迷失？" class="headerlink" title="Kotlin编程第一课–(源码篇)26  协程源码的地图：如何读源码才不会迷失？"></a><a href="https://devsu.top/posts/80bc5780/">Kotlin编程第一课–(源码篇)26  协程源码的地图：如何读源码才不会迷失？</a></h4><h4 id="Kotlin编程第一课–-源码篇-27-图解挂起函数：原来你就是个状态机？"><a href="#Kotlin编程第一课–-源码篇-27-图解挂起函数：原来你就是个状态机？" class="headerlink" title="Kotlin编程第一课–(源码篇)27  图解挂起函数：原来你就是个状态机？"></a><a href="https://devsu.top/posts/875d6a31/">Kotlin编程第一课–(源码篇)27  图解挂起函数：原来你就是个状态机？</a></h4><h4 id="Kotlin编程第一课–-源码篇-28-launch的背后到底发生了什么？"><a href="#Kotlin编程第一课–-源码篇-28-launch的背后到底发生了什么？" class="headerlink" title="Kotlin编程第一课–(源码篇)28  launch的背后到底发生了什么？"></a><a href="https://devsu.top/posts/e184d855/">Kotlin编程第一课–(源码篇)28  launch的背后到底发生了什么？</a></h4><h4 id="Kotlin编程第一课–-源码篇-加餐五-深入理解协程基础元素"><a href="#Kotlin编程第一课–-源码篇-加餐五-深入理解协程基础元素" class="headerlink" title="Kotlin编程第一课–(源码篇)加餐五  深入理解协程基础元素"></a><a href="https://devsu.top/posts/4c362f78/">Kotlin编程第一课–(源码篇)加餐五  深入理解协程基础元素</a></h4><h4 id="Kotlin编程第一课–-源码篇-29-Dispatchers是如何工作的？"><a href="#Kotlin编程第一课–-源码篇-29-Dispatchers是如何工作的？" class="headerlink" title="Kotlin编程第一课–(源码篇)29  Dispatchers是如何工作的？"></a><a href="https://devsu.top/posts/c0627888/">Kotlin编程第一课–(源码篇)29  Dispatchers是如何工作的？</a></h4><h4 id="Kotlin编程第一课–-源码篇-30-CoroutineScope是如何管理协程的？"><a href="#Kotlin编程第一课–-源码篇-30-CoroutineScope是如何管理协程的？" class="headerlink" title="Kotlin编程第一课–(源码篇)30  CoroutineScope是如何管理协程的？"></a><a href="https://devsu.top/posts/4f3df7f8/">Kotlin编程第一课–(源码篇)30  CoroutineScope是如何管理协程的？</a></h4><h4 id="Kotlin编程第一课–-源码篇-31-图解Channel：如何理解它的CSP通信模型？"><a href="#Kotlin编程第一课–-源码篇-31-图解Channel：如何理解它的CSP通信模型？" class="headerlink" title="Kotlin编程第一课–(源码篇)31  图解Channel：如何理解它的CSP通信模型？"></a><a href="https://devsu.top/posts/6017bcef/">Kotlin编程第一课–(源码篇)31  图解Channel：如何理解它的CSP通信模型？</a></h4><h4 id="Kotlin编程第一课–-源码篇-32-图解Flow：原来你是只纸老虎？"><a href="#Kotlin编程第一课–-源码篇-32-图解Flow：原来你是只纸老虎？" class="headerlink" title="Kotlin编程第一课–(源码篇)32  图解Flow：原来你是只纸老虎？"></a><a href="https://devsu.top/posts/11989076/">Kotlin编程第一课–(源码篇)32  图解Flow：原来你是只纸老虎？</a></h4><h3 id="Android项目篇"><a href="#Android项目篇" class="headerlink" title="Android项目篇"></a>Android项目篇</h3><h4 id="Kotlin编程第一课–-Android项目篇-33-Java-Android开发者还会有未来吗？"><a href="#Kotlin编程第一课–-Android项目篇-33-Java-Android开发者还会有未来吗？" class="headerlink" title="Kotlin编程第一课–(Android项目篇)33 Java Android开发者还会有未来吗？"></a><a href="https://devsu.top/posts/11a43e5b/">Kotlin编程第一课–(Android项目篇)33 Java Android开发者还会有未来吗？</a></h4><h4 id="Kotlin编程第一课–-Android项目篇-34-Kotlin与Jetpack简直是天生一对！"><a href="#Kotlin编程第一课–-Android项目篇-34-Kotlin与Jetpack简直是天生一对！" class="headerlink" title="Kotlin编程第一课–(Android项目篇)34  Kotlin与Jetpack简直是天生一对！"></a><a href="https://devsu.top/posts/b63f0842/">Kotlin编程第一课–(Android项目篇)34  Kotlin与Jetpack简直是天生一对！</a></h4><h4 id="Kotlin编程第一课–-Android项目篇-35-用Kotlin写一个GitHub-Trending-App"><a href="#Kotlin编程第一课–-Android项目篇-35-用Kotlin写一个GitHub-Trending-App" class="headerlink" title="Kotlin编程第一课–(Android项目篇)35  用Kotlin写一个GitHub Trending App"></a><a href="https://devsu.top/posts/58999c28/">Kotlin编程第一课–(Android项目篇)35  用Kotlin写一个GitHub Trending App</a></h4></article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="https://devsu.top">Carl Su</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://devsu.top/posts/be9f17d6/">https://devsu.top/posts/be9f17d6/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://devsu.top" target="_blank">码行</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/Kotlin/">Kotlin</a></div><div class="post_share"><div class="social-share" data-image="https://img2.baidu.com/it/u=3956021957,3313212296&amp;fm=253&amp;fmt=auto&amp;app=138&amp;f=JPEG?w=800&amp;h=500" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/sharejs/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/posts/c9b7198f/" title="Jekyll 运行错误"><img class="cover" src="https://p8.itc.cn/images01/20210924/7e6dfdde02fc426ba281d529eb67fbe8.jpeg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">Jekyll 运行错误</div></div></a></div><div class="next-post pull-right"><a href="/posts/58999c28/" title="Kotlin编程第一课--(Android项目篇)35  用Kotlin写一个GitHub Trending App"><img class="cover" src="https://www.gaoguang.com/uploads/allimg/201015/2-201015120J1.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">Kotlin编程第一课--(Android项目篇)35  用Kotlin写一个GitHub Trending App</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span>相关推荐</span></div><div class="relatedPosts-list"><div><a href="/posts/85d82fa8/" title="Kotlin编程第一课--(基础篇)06  扩展：你的能力边界到底在哪里？"><img class="cover" src="https://static001.geekbang.org/resource/image/b6/1c/b65feyy0bdc4764c6564a95912d7851c.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-05-06</div><div class="title">Kotlin编程第一课--(基础篇)06  扩展：你的能力边界到底在哪里？</div></div></a></div><div><a href="/posts/83a7144c/" title="2023-01-17-Kotlin协程 -  结构化并发"><img class="cover" src="https://s2.loli.net/2023/03/14/xEyFgn24zZPXe15.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-01-17</div><div class="title">2023-01-17-Kotlin协程 -  结构化并发</div></div></a></div><div><a href="/posts/68bf7d20/" title="Kotlin函数"><img class="cover" src="https://img1.baidu.com/it/u=1546227440,2897989905&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-08-05</div><div class="title">Kotlin函数</div></div></a></div><div><a href="/posts/a20c9e06/" title="Kotlin协程"><img class="cover" src="https://s2.loli.net/2023/03/14/3MHPBy1Q4GncRlF.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2023-02-09</div><div class="title">Kotlin协程</div></div></a></div><div><a href="/posts/8c331668/" title="Kotlin内置函数apply、let、run、with、also等区别"><img class="cover" src="https://s2.loli.net/2023/03/14/OpxWcuy2ktMzoQD.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-08-05</div><div class="title">Kotlin内置函数apply、let、run、with、also等区别</div></div></a></div><div><a href="/posts/d82fa2ad/" title="Kotlin嵌套类"><img class="cover" src="https://img2.baidu.com/it/u=567357414,4240886412&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2022-08-23</div><div class="title">Kotlin嵌套类</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div><div id="comment-switch"><span class="first-comment">Valine</span><span class="switch-btn"></span><span class="second-comment">Disqus</span></div></div><div class="comment-wrap"><div><div class="vcomment" id="vcomment"></div></div><div><div id="disqus_thread"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%9F%BA%E7%A1%80%E7%AF%87"><span class="toc-number">1.</span> <span class="toc-text">基础篇</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-01-Kotlin%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95%EF%BC%9A%E6%AD%A3%E5%BC%8F%E5%BC%80%E5%90%AF%E5%AD%A6%E4%B9%A0%E4%B9%8B%E6%97%85"><span class="toc-number">1.1.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)01  Kotlin基础语法：正式开启学习之旅</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-02-%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%EF%BC%9A%E7%90%86%E8%A7%A3Kotlin%E8%AE%BE%E8%AE%A1%E8%80%85%E7%9A%84%E8%89%AF%E8%8B%A6%E7%94%A8%E5%BF%83"><span class="toc-number">1.2.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)02  面向对象：理解Kotlin设计者的良苦用心</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-03-Kotlin%E5%8E%9F%E7%90%86%EF%BC%9A%E7%BC%96%E8%AF%91%E5%99%A8%E5%9C%A8%E5%B9%95%E5%90%8E%E5%B9%B2%E4%BA%86%E5%93%AA%E4%BA%9B%E2%80%9C%E5%A5%BD%E4%BA%8B%E2%80%9D%EF%BC%9F"><span class="toc-number">1.3.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)03  Kotlin原理：编译器在幕后干了哪些“好事”？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-04-%E5%AE%9E%E6%88%98%EF%BC%9A%E6%9E%84%E5%BB%BA%E4%B8%80%E4%B8%AAKotlin%E7%89%88%E6%9C%AC%E7%9A%84%E5%9B%9B%E5%88%99%E8%BF%90%E7%AE%97%E8%AE%A1%E7%AE%97%E5%99%A8"><span class="toc-number">1.4.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)04 | 实战：构建一个Kotlin版本的四则运算计算器</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-05-object%E5%85%B3%E9%94%AE%E5%AD%97%EF%BC%9A%E4%BD%A0%E5%88%B0%E5%BA%95%E6%9C%89%E5%A4%9A%E5%B0%91%E7%A7%8D%E7%94%A8%E6%B3%95%EF%BC%9F"><span class="toc-number">1.5.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)05  object关键字：你到底有多少种用法？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-06-%E6%89%A9%E5%B1%95%EF%BC%9A%E4%BD%A0%E7%9A%84%E8%83%BD%E5%8A%9B%E8%BE%B9%E7%95%8C%E5%88%B0%E5%BA%95%E5%9C%A8%E5%93%AA%E9%87%8C%EF%BC%9F"><span class="toc-number">1.6.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)06  扩展：你的能力边界到底在哪里？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-07-%E9%AB%98%E9%98%B6%E5%87%BD%E6%95%B0%EF%BC%9A%E4%B8%BA%E4%BB%80%E4%B9%88%E8%AF%B4%E5%87%BD%E6%95%B0%E6%98%AFKotlin%E7%9A%84%E2%80%9C%E4%B8%80%E7%AD%89%E5%85%AC%E6%B0%91%E2%80%9D%EF%BC%9F"><span class="toc-number">1.7.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)07  高阶函数：为什么说函数是Kotlin的“一等公民”？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-08-%E5%AE%9E%E6%88%98%EF%BC%9A%E7%94%A8Kotlin%E5%86%99%E4%B8%80%E4%B8%AA%E8%8B%B1%E8%AF%AD%E8%AF%8D%E9%A2%91%E7%BB%9F%E8%AE%A1%E7%A8%8B%E5%BA%8F"><span class="toc-number">1.8.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)08  实战：用Kotlin写一个英语词频统计程序</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-%E5%8A%A0%E9%A4%90%E4%B8%80-%E5%88%9D%E8%AF%86Kotlin%E5%87%BD%E6%95%B0%E5%BC%8F%E7%BC%96%E7%A8%8B"><span class="toc-number">1.9.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)加餐一  初识Kotlin函数式编程</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-09-%E5%A7%94%E6%89%98%EF%BC%9A%E4%BD%A0%E4%B8%BA%E4%BD%95%E6%80%BB%E6%98%AF%E8%A2%AB%E4%BD%8E%E4%BC%B0%EF%BC%9F"><span class="toc-number">1.10.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)09  委托：你为何总是被低估？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-10-%E6%B3%9B%E5%9E%8B%EF%BC%9A%E9%80%86%E5%8F%98or%E5%8D%8F%E5%8F%98%EF%BC%8C%E5%82%BB%E5%82%BB%E5%88%86%E4%B8%8D%E6%B8%85%EF%BC%9F"><span class="toc-number">1.11.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)10  泛型：逆变or协变，傻傻分不清？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-11-%E6%B3%A8%E8%A7%A3%E4%B8%8E%E5%8F%8D%E5%B0%84%EF%BC%9A%E8%BF%9B%E9%98%B6%E5%BF%85%E5%A4%87%E6%8A%80%E8%83%BD"><span class="toc-number">1.12.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)11  注解与反射：进阶必备技能</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-12-%E5%AE%9E%E6%88%98%EF%BC%9A%E7%94%A8Kotlin%E5%AE%9E%E7%8E%B0%E4%B8%80%E4%B8%AA%E7%BD%91%E7%BB%9C%E8%AF%B7%E6%B1%82%E6%A1%86%E6%9E%B6KtHttp"><span class="toc-number">1.13.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)12  实战：用Kotlin实现一个网络请求框架KtHttp</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-%E5%8A%A0%E9%A4%90%E4%BA%8C-%E4%BB%80%E4%B9%88%E6%98%AF%E2%80%9C%E8%A1%A8%E8%BE%BE%E5%BC%8F%E6%80%9D%E7%BB%B4%E2%80%9D%EF%BC%9F"><span class="toc-number">1.14.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)加餐二  什么是“表达式思维”？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-%E5%8A%A0%E9%A4%90%E4%B8%89-%E4%BB%80%E4%B9%88%E6%98%AF%E2%80%9C%E4%B8%8D%E5%8F%98%E6%80%A7%E6%80%9D%E7%BB%B4%E2%80%9D%EF%BC%9F"><span class="toc-number">1.15.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)加餐三  什么是“不变性思维”？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%9F%BA%E7%A1%80%E7%AF%87-%E5%8A%A0%E9%A4%90%E5%9B%9B-%E4%BB%80%E4%B9%88%E6%98%AF%E2%80%9C%E7%A9%BA%E5%AE%89%E5%85%A8%E6%80%9D%E7%BB%B4%E2%80%9D%EF%BC%9F"><span class="toc-number">1.16.</span> <span class="toc-text">Kotlin编程第一课–(基础篇)加餐四  什么是“空安全思维”？</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%89%B9%E5%88%AB%E6%94%BE%E9%80%81%E7%AF%87"><span class="toc-number">2.</span> <span class="toc-text">特别放送篇</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E7%89%B9%E5%88%AB%E6%94%BE%E9%80%81-%E5%88%B7%E9%A2%98%E8%AE%A1%E5%88%92%EF%BC%88%E4%B8%80%EF%BC%89-%E5%BD%93Kotlin%E9%81%87%E4%B8%8ALeetCode"><span class="toc-number">2.1.</span> <span class="toc-text">Kotlin编程第一课–(特别放送)刷题计划（一） 当Kotlin遇上LeetCode</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E7%89%B9%E5%88%AB%E6%94%BE%E9%80%81-%E5%88%B7%E9%A2%98%E8%AE%A1%E5%88%92%EF%BC%88%E4%BA%8C%EF%BC%89-%E4%B8%80%E9%A2%98%E4%B8%89%E8%A7%A3%EF%BC%8C%E6%90%9E%E5%AE%9A%E7%89%88%E6%9C%AC%E5%8F%B7%E5%88%A4%E6%96%AD"><span class="toc-number">2.2.</span> <span class="toc-text">Kotlin编程第一课–(特别放送)刷题计划（二） 一题三解，搞定版本号判断</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%98%A5%E8%8A%82%E7%89%B9%E5%88%AB%E6%94%BE%E6%9D%BE-%E6%98%A5%E8%8A%82%E5%88%B7%E9%A2%98%E8%AE%A1%E5%88%92%EF%BC%88%E4%B8%89%EF%BC%89-%E4%B8%80%E9%A2%98%E5%8F%8C%E8%A7%A3%EF%BC%8C-%E6%96%B9%E7%A8%8B"><span class="toc-number">2.3.</span> <span class="toc-text">Kotlin编程第一课–(春节特别放松)春节刷题计划（三） 一题双解， 方程</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E7%89%B9%E5%88%AB%E6%94%BE%E9%80%81-%E5%88%B7%E9%A2%98%E8%AE%A1%E5%88%92%EF%BC%88%E5%9B%9B%EF%BC%89-%E4%B8%80%E9%A2%98%E4%B8%89%E8%A7%A3%EF%BC%8C%E6%90%9E%E5%AE%9A%E5%88%86%E5%BC%8F%E5%8A%A0%E5%87%8F%E6%B3%95"><span class="toc-number">2.4.</span> <span class="toc-text">Kotlin编程第一课–(特别放送)刷题计划（四） 一题三解，搞定分式加减法</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%8D%8F%E7%A8%8B%E7%AF%87"><span class="toc-number">3.</span> <span class="toc-text">协程篇</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-13-%E4%BB%80%E4%B9%88%E6%98%AF%E2%80%9C%E5%8D%8F%E7%A8%8B%E6%80%9D%E7%BB%B4%E6%A8%A1%E5%9E%8B%E2%80%9D%EF%BC%9F"><span class="toc-number">3.1.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)13 什么是“协程思维模型”？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-14-%E5%A6%82%E4%BD%95%E5%90%AF%E5%8A%A8%E5%8D%8F%E7%A8%8B%EF%BC%9F"><span class="toc-number">3.2.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)14  如何启动协程？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-15-%E6%8C%82%E8%B5%B7%E5%87%BD%E6%95%B0%EF%BC%9AKotlin%E5%8D%8F%E7%A8%8B%E7%9A%84%E6%A0%B8%E5%BF%83"><span class="toc-number">3.3.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)15  挂起函数：Kotlin协程的核心</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-16-Job%EF%BC%9A%E5%8D%8F%E7%A8%8B%E4%B9%9F%E6%9C%89%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F%E5%90%97%EF%BC%9F"><span class="toc-number">3.4.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)16  Job：协程也有生命周期吗？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-17-Context%EF%BC%9A%E4%B8%87%E7%89%A9%E7%9A%86%E4%B8%BAContext%EF%BC%9F"><span class="toc-number">3.5.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)17  Context：万物皆为Context？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-18-%E5%AE%9E%E6%88%98%EF%BC%9A%E8%AE%A9KtHttp%E6%94%AF%E6%8C%81%E6%8C%82%E8%B5%B7%E5%87%BD%E6%95%B0"><span class="toc-number">3.6.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)18  实战：让KtHttp支持挂起函数</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-%E6%9C%9F%E4%B8%AD%E8%80%83%E8%AF%95-%E7%94%A8Kotlin%E5%AE%9E%E7%8E%B0%E5%9B%BE%E7%89%87%E5%A4%84%E7%90%86%E7%A8%8B%E5%BA%8F"><span class="toc-number">3.7.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)期中考试  用Kotlin实现图片处理程序</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-%E9%A2%98%E7%9B%AE%E8%A7%A3%E7%AD%94-%E6%9C%9F%E4%B8%AD%E8%80%83%E8%AF%95%E7%89%88%E6%9C%AC%E5%8F%82%E8%80%83%E5%AE%9E%E7%8E%B0"><span class="toc-number">3.8.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)题目解答  期中考试版本参考实现</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-19-channel%EF%BC%9A%E4%B8%BA%E4%BB%80%E4%B9%88%E8%AF%B4channel%E6%98%AF%E7%83%AD%E7%9A%84"><span class="toc-number">3.9.</span> <span class="toc-text">kotlin编程第一课–(协程篇)19  channel：为什么说channel是热的?</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-20-Flow%EF%BC%9A%E4%B8%BA%E4%BB%80%E4%B9%88%E8%AF%B4Flow%E6%98%AF%E2%80%9C%E5%86%B7%E2%80%9D%E7%9A%84%EF%BC%9F"><span class="toc-number">3.10.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)20  Flow：为什么说Flow是“冷”的？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-21-select%EF%BC%9A%E5%88%B0%E5%BA%95%E6%98%AF%E5%9C%A8%E9%80%89%E6%8B%A9%E4%BB%80%E4%B9%88%EF%BC%9F"><span class="toc-number">3.11.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)21  select：到底是在选择什么？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-22-%E5%B9%B6%E5%8F%91%EF%BC%9A%E5%8D%8F%E7%A8%8B%E4%B8%8D%E9%9C%80%E8%A6%81%E5%A4%84%E7%90%86%E5%90%8C%E6%AD%A5%E5%90%97%EF%BC%9F"><span class="toc-number">3.12.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)22  并发：协程不需要处理同步吗？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-23-%E5%BC%82%E5%B8%B8%EF%BC%9Atry-catch-%E5%9D%91%EF%BC%81"><span class="toc-number">3.13.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)23  异常：try-catch 坑！</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E5%8D%8F%E7%A8%8B%E7%AF%87-24-%E5%AE%9E%E6%88%98%EF%BC%9A%E8%AE%A9KtHttp%E6%94%AF%E6%8C%81Flow"><span class="toc-number">3.14.</span> <span class="toc-text">Kotlin编程第一课–(协程篇)24  实战：让KtHttp支持Flow</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%AD%94%E7%96%91%E7%AF%87"><span class="toc-number">4.</span> <span class="toc-text">答疑篇</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E7%AD%94%E7%96%91%E7%AF%87-%E7%AD%94%E7%96%91%EF%BC%88%E4%B8%80%EF%BC%89-Java%E5%92%8CKotlin%E5%88%B0%E5%BA%95%E8%B0%81%E5%A5%BD%E8%B0%81%E5%9D%8F%EF%BC%9F"><span class="toc-number">4.1.</span> <span class="toc-text">Kotlin编程第一课–(答疑篇)答疑（一）| Java和Kotlin到底谁好谁坏？</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%BA%90%E7%A0%81%E7%AF%87"><span class="toc-number">5.</span> <span class="toc-text">源码篇</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%BA%90%E7%A0%81%E7%AF%87-25-%E9%9B%86%E5%90%88%E6%93%8D%E4%BD%9C%E7%AC%A6%EF%BC%9A%E4%BD%A0%E4%B9%9F%E4%BC%9A%E2%80%9C%E7%9C%8B%E5%AE%8C%E5%B0%B1%E5%BF%98%E2%80%9D%E5%90%97%EF%BC%9F"><span class="toc-number">5.1.</span> <span class="toc-text">Kotlin编程第一课–(源码篇)25  集合操作符：你也会“看完就忘”吗？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%BA%90%E7%A0%81%E7%AF%87-26-%E5%8D%8F%E7%A8%8B%E6%BA%90%E7%A0%81%E7%9A%84%E5%9C%B0%E5%9B%BE%EF%BC%9A%E5%A6%82%E4%BD%95%E8%AF%BB%E6%BA%90%E7%A0%81%E6%89%8D%E4%B8%8D%E4%BC%9A%E8%BF%B7%E5%A4%B1%EF%BC%9F"><span class="toc-number">5.2.</span> <span class="toc-text">Kotlin编程第一课–(源码篇)26  协程源码的地图：如何读源码才不会迷失？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%BA%90%E7%A0%81%E7%AF%87-27-%E5%9B%BE%E8%A7%A3%E6%8C%82%E8%B5%B7%E5%87%BD%E6%95%B0%EF%BC%9A%E5%8E%9F%E6%9D%A5%E4%BD%A0%E5%B0%B1%E6%98%AF%E4%B8%AA%E7%8A%B6%E6%80%81%E6%9C%BA%EF%BC%9F"><span class="toc-number">5.3.</span> <span class="toc-text">Kotlin编程第一课–(源码篇)27  图解挂起函数：原来你就是个状态机？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%BA%90%E7%A0%81%E7%AF%87-28-launch%E7%9A%84%E8%83%8C%E5%90%8E%E5%88%B0%E5%BA%95%E5%8F%91%E7%94%9F%E4%BA%86%E4%BB%80%E4%B9%88%EF%BC%9F"><span class="toc-number">5.4.</span> <span class="toc-text">Kotlin编程第一课–(源码篇)28  launch的背后到底发生了什么？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%BA%90%E7%A0%81%E7%AF%87-%E5%8A%A0%E9%A4%90%E4%BA%94-%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%E5%8D%8F%E7%A8%8B%E5%9F%BA%E7%A1%80%E5%85%83%E7%B4%A0"><span class="toc-number">5.5.</span> <span class="toc-text">Kotlin编程第一课–(源码篇)加餐五  深入理解协程基础元素</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%BA%90%E7%A0%81%E7%AF%87-29-Dispatchers%E6%98%AF%E5%A6%82%E4%BD%95%E5%B7%A5%E4%BD%9C%E7%9A%84%EF%BC%9F"><span class="toc-number">5.6.</span> <span class="toc-text">Kotlin编程第一课–(源码篇)29  Dispatchers是如何工作的？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%BA%90%E7%A0%81%E7%AF%87-30-CoroutineScope%E6%98%AF%E5%A6%82%E4%BD%95%E7%AE%A1%E7%90%86%E5%8D%8F%E7%A8%8B%E7%9A%84%EF%BC%9F"><span class="toc-number">5.7.</span> <span class="toc-text">Kotlin编程第一课–(源码篇)30  CoroutineScope是如何管理协程的？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%BA%90%E7%A0%81%E7%AF%87-31-%E5%9B%BE%E8%A7%A3Channel%EF%BC%9A%E5%A6%82%E4%BD%95%E7%90%86%E8%A7%A3%E5%AE%83%E7%9A%84CSP%E9%80%9A%E4%BF%A1%E6%A8%A1%E5%9E%8B%EF%BC%9F"><span class="toc-number">5.8.</span> <span class="toc-text">Kotlin编程第一课–(源码篇)31  图解Channel：如何理解它的CSP通信模型？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-%E6%BA%90%E7%A0%81%E7%AF%87-32-%E5%9B%BE%E8%A7%A3Flow%EF%BC%9A%E5%8E%9F%E6%9D%A5%E4%BD%A0%E6%98%AF%E5%8F%AA%E7%BA%B8%E8%80%81%E8%99%8E%EF%BC%9F"><span class="toc-number">5.9.</span> <span class="toc-text">Kotlin编程第一课–(源码篇)32  图解Flow：原来你是只纸老虎？</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Android%E9%A1%B9%E7%9B%AE%E7%AF%87"><span class="toc-number">6.</span> <span class="toc-text">Android项目篇</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-Android%E9%A1%B9%E7%9B%AE%E7%AF%87-33-Java-Android%E5%BC%80%E5%8F%91%E8%80%85%E8%BF%98%E4%BC%9A%E6%9C%89%E6%9C%AA%E6%9D%A5%E5%90%97%EF%BC%9F"><span class="toc-number">6.1.</span> <span class="toc-text">Kotlin编程第一课–(Android项目篇)33 Java Android开发者还会有未来吗？</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-Android%E9%A1%B9%E7%9B%AE%E7%AF%87-34-Kotlin%E4%B8%8EJetpack%E7%AE%80%E7%9B%B4%E6%98%AF%E5%A4%A9%E7%94%9F%E4%B8%80%E5%AF%B9%EF%BC%81"><span class="toc-number">6.2.</span> <span class="toc-text">Kotlin编程第一课–(Android项目篇)34  Kotlin与Jetpack简直是天生一对！</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Kotlin%E7%BC%96%E7%A8%8B%E7%AC%AC%E4%B8%80%E8%AF%BE%E2%80%93-Android%E9%A1%B9%E7%9B%AE%E7%AF%87-35-%E7%94%A8Kotlin%E5%86%99%E4%B8%80%E4%B8%AAGitHub-Trending-App"><span class="toc-number">6.3.</span> <span class="toc-text">Kotlin编程第一课–(Android项目篇)35  用Kotlin写一个GitHub Trending App</span></a></li></ol></li></ol></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2018 - 2023 By Carl Su</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">学无止境</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="chat_btn" type="button" title="聊天"><i class="fas fa-sms"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><div class="js-pjax"><script>function loadValine () {
  function initValine () {
    const valine = new Valine(Object.assign({
      el: '#vcomment',
      appId: '',
      appKey: '',
      avatar: 'monsterid',
      serverURLs: '',
      emojiMaps: "",
      path: window.location.pathname,
      visitor: false
    }, null))
  }

  if (typeof Valine === 'function') initValine() 
  else getScript('https://cdn.jsdelivr.net/npm/valine/dist/Valine.min.js').then(initValine)
}

if ('Valine' === 'Valine' || !true) {
  if (true) btf.loadComment(document.getElementById('vcomment'),loadValine)
  else setTimeout(loadValine, 0)
} else {
  function loadOtherComment () {
    loadValine()
  }
}</script><script>function loadDisqus () {
  var disqus_config = function () {
    this.page.url = 'https://devsu.top/posts/be9f17d6/'
    this.page.identifier = '/posts/be9f17d6/'
    this.page.title = 'Kotlin编程第一课(目录)'
  };

  window.disqusReset = () => {
    DISQUS.reset({
      reload: true,
      config: disqus_config
    })
  }

  if (window.DISQUS) disqusReset()
  else {
    (function() { 
      var d = document, s = d.createElement('script');
      s.src = 'https://.disqus.com/embed.js';
      s.setAttribute('data-timestamp', +new Date());
      (d.head || d.body).appendChild(s);
    })();
  }

  document.getElementById('darkmode').addEventListener('click', () => {
    setTimeout(() => window.disqusReset(), 200)
  })
}

if ('Valine' === 'Disqus' || !true) {
  if (true) btf.loadComment(document.getElementById('disqus_thread'), loadDisqus)
  else loadDisqus()
} else {
  function loadOtherComment () {
    loadDisqus()
  }
}
</script></div><script defer="defer" id="fluttering_ribbon" mobile="false" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/canvas-fluttering-ribbon.min.js"></script><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/activate-power-mode.min.js"></script><script>POWERMODE.colorful = true;
POWERMODE.shake = false;
POWERMODE.mobile = false;
document.body.addEventListener('input', POWERMODE);
</script><script id="click-heart" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/click-heart.min.js" async="async" mobile="false"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div><script src="/js/search/local-search.js"></script></div></body></html>